package org.example.skytool.mq.rabbitmq;

import lombok.extern.slf4j.Slf4j;
import org.example.annotation.LogTrace;
import org.example.config.RabbitMqConfig;
import org.example.dao.dao.user.UStudentDao;
import org.example.dao.dao.user.UUserDao;
import org.example.dao.dto.user.RabbitUserDto;
import org.example.dao.dto.user.UserDto;
import org.example.dao.entity.user.UStudent;
import org.example.dao.entity.user.UUser;
import org.example.dao.dto.user.UserFactory;
import org.example.skytool.commom.IdWorker;
import org.example.skytool.commom.StringUtil;
import org.example.skytool.jw.JwUtil;
import org.example.skytool.json.JackSonUtil;
import org.example.skytool.redis.RedisConstants;
import org.example.skytool.redis.RedisUtils;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;
import java.util.concurrent.TimeUnit;

/**
 * @author 22449
 */
@Service
@Slf4j
public class CookieReciver {

    @Resource
    private RedisUtils redisUtils;

    @Resource
    private JwUtil jwUtil;

    @Resource
    private UStudentDao uStudentDao;

    @Resource
    private IdWorker idWorker;

    @Resource
    private UserFactory userFactory;

    @Resource
    private UUserDao uUserDao;

    @RabbitListener(queues = RabbitMqConfig.COOKIE_QUEUE)
    @LogTrace
    public void receive(String message) {


    }


}
